package com.huoyun.company.service;

import com.huoyun.company.bean.CompanyInfo;
import com.huoyun.company.bean.CompanyPerson;

public interface CompanyService {
	//公司信息

	public boolean saveCompanyInfo(CompanyInfo companyInfo);
	
	public boolean updateCompanyInfo(CompanyInfo companyInfo);
	
	public CompanyInfo getCompanyInfoByUserId(long userId);

	//公司联系人信息
	
	public boolean saveCompanyPerson(CompanyPerson companyPerson);
	
	public boolean updateCompanyPerson(CompanyPerson companyPerson); 
	
	public CompanyPerson getContactPersonById(long id);
	
	public CompanyPerson getCompanyPersonByCompanyId(long companyId);
	
}
